package org.aom.service.menu.impl;

import org.aom.dao.menu.MenuDao;
import org.aom.entity.menu.Menu;
import org.aom.service.base.EntityManager;
import org.aom.service.menu.IMenuManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service(value="menuManager")
public class MenuManager extends EntityManager<Menu, Long> implements IMenuManager{

	@Autowired
	private MenuDao menuDao;
	
	@Override
	protected MenuDao getEntityDao() {
		return menuDao;
	}
}
